package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_cookboy2_finish_food", desc = "小当家2-上桌记录", autoSave = true, uploadCk = true)
public class LogCookBoy2FinishFood extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "菜品id")
    private int userFoodId;
    @FieldTypeAnnotation(desc = "p配置菜品id")
    private int foodId;
    @FieldTypeAnnotation(desc = "品质")
    private int quality;
    @FieldTypeAnnotation(desc = "消耗数量")
    private int isGet;

    public LogCookBoy2FinishFood(int activityId, long userId, int userFoodId, int foodId, int quality, int isGet) {
        this.activityId = activityId;
        this.userId = userId;
        this.userFoodId = userFoodId;
        this.foodId = foodId;
        this.quality = quality;
        this.isGet = isGet;
    }

    public long getUserId() {
        return userId;
    }
}
